package com.dongdongshop.api;

import com.dongdongshop.data.Result;
import com.dongdongshop.dto.SellerDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "dongdongshop-seller",path = "/seller/api")
public interface SellerApi {
    @PostMapping("seller/getSellerInfo")
    Result<SellerDTO> getSellerInfo(@RequestParam("sellerId")String sellerId);
}
